//
//  LDataSource.h
//  构架模式MVC
//
//  Created by XHJ on 2020/8/24.
//  Copyright © 2020 L. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface LDataSource : NSObject <UITableViewDataSource>

- (instancetype)initWithCellIdentifier:(NSString *)identifier configure:(void(^)(id cell, id model, NSIndexPath *indexPath))configure;

@property (nonatomic, strong)NSArray *datas;
- (void)addDataArr:(NSArray *)data;

@end

NS_ASSUME_NONNULL_END
